﻿using MediatR;
using SmartProduction.ErrorCode;

namespace SmartProduction.Write.API.Application.Commands.Allcate
{
    /// <summary>
    /// 调拨单添加命令
    /// </summary>
    public class AllcateCommand:IRequest<APIResult<object>>
    {
        /// <summary>
        /// 调拨日期
        /// </summary>

        public DateTime AllocateTime { get; set; }
        /// <summary>
        /// 来源仓库
        /// </summary>

        public string SourceWareHouse { get; set; }
        /// <summary>
        /// 来源仓库地址
        /// </summary>

        public string SourceWareHouseAddress { get; set; }
        /// <summary>
        /// 目标仓库
        /// </summary>
         
        public string targetWareHouse { get; set; }
        /// <summary>
        /// 目标仓库地址
        /// </summary>

        public string TargetWareHouseAddress { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string MakerListPerson { get; set; }
        /// <summary>
        /// 制单部门
        /// </summary>

        public string MakerListDepert { get; set; }
        /// <summary>
        /// 调拨状态
        /// </summary>

        public bool IsStatus { get; set; }
    }
}
